﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.Core.Algorithm;

namespace Microhard.Core.DBUtility
{
    /// <summary>
    /// 使用此属性，代表字段用于权限过滤
    /// </summary>
    public class ModelPKIDAttribute : Attribute
    {
        public ModelPKIDAttribute()
        {
        }
    }

    /// <summary>
    /// 代表此属性为资源ID
    /// </summary>
    public class ModelRESIDAttribute : Attribute
    {
        public ModelRESIDAttribute()
        {
        }
    }

    public enum PCD
    {
        Empty = 0,
        Province = 1,
        City = 2,
        Distince = 3
    }

    public class ModelReadTxtFromoCache : Attribute
    {
        public string IDFieldName { set; get; }
        public string WFInstanceFieldName { set; get; }
        public PCD PCDName { set; get; }
        public DVTMType UsingType { set; get; }
        public ModelReadTxtFromoCache()
        { }
    }



}
